<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="/struts-tags" prefix="s" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
 <link rel="stylesheet" type="text/css" href="css/coms.css" />
<title>BookedConferences</title>
</head>
<body >


<table>

<tr>
					
					<th>Conf Name</th>
					<th>Location</th>
					<th>Event</th>
					<th>Call For Papers</th>
					<th>Start Date</th>
					<th>End Date</th>
					<th>Review Time Line</th>
					<th> Action </th>
					</tr>


<s:iterator value="listofCoferences" status="Status">
  <tr>
  	<s:if test="#Status.even == true">
      <td style="background: #CCCCCC"><s:property value="conferenceName" /></td>
       <td style="background: #CCCCCC"><s:property value="location" /></td>
        <td style="background: #CCCCCC"><s:property value="event" /></td>
         <td style="background: #CCCCCC"><s:property value="callForPapers" /></td>
          <td style="background: #CCCCCC"><s:property value="conferenceStartDate" /></td>
           <td style="background: #CCCCCC"><s:property value="conferenceEndDate" /></td>
            <td style="background: #CCCCCC"><s:property value="reviewTimeline" /></td>
            <td>
						<s:url id="displayConferenceItemsURL" action="displayConferenceItemsofConference">
							<s:param name="conferenceID" value="%{conferenceID}"></s:param>
						</s:url>
						<s:a href="%{displayConferenceItemsURL}">Conference Items</s:a>
			</td>
            
    </s:if>
    <s:elseif test="#Status.first == true">
      <td ><s:property value="conferenceName" /></td>
       <td ><s:property value="location" /></td>
        <td ><s:property value="event" /></td>
         <td ><s:property value="callForPapers" /></td>
          <td ><s:property value="conferenceStartDate" /></td>
           <td ><s:property value="conferenceEndDate" /></td>
            <td ><s:property value="reviewTimeline" /></td>
            <td>
						<s:url id="displayConferenceItemsURL" action="displayConferenceItemsofConference">
							<s:param name="conferenceID" value="%{conferenceID}"></s:param>
						</s:url>
						<s:a href="%{displayConferenceItemsURL}">Conference Items</s:a>
						
			</td>
    </s:elseif>
    <s:else>
      <td><s:property/></td>
    </s:else>
  </tr>
</s:iterator>
</table>




</body>
</html>